<template>
	<view class="wrapper">
		<dlContacts ref="jContacts" :myList="blackList" :showBottom="false" :showRadio="false"></dlContacts>
	</view>
</template>

<script>
import dlContacts from '@/components/dl-contacts/dl-contacts.vue';
export default {
	data() {
		return {
			blackList: []
		};
	},
	components:{dlContacts},
	onShow() {
		this.friendsBlacklist()
	},
	methods: {
		friendsBlacklist() {
			let that=this
			this.$ajax(this.apiList.friendsBlacklist, {}, 'GET').then(res => {
				this.blackList = res.data;
				setTimeout(function(){
					that.$refs.jContacts.show();
				},300)
			});
		}
	}
};
</script>

<style lang="scss"></style>
